package com.night.administration.mapper;

import com.night.common.entity.administration.Structure;

import java.util.List;

/**
 * @ClassName: StructureMapper
 * @Description: //TODO
 * @author: LZJ
 * @date: 2022/10/19-9:24
 * @version: v1.0
 */
public interface StructureMapper {
    //增加学院架构
    void insert(Structure structure);

    //修改学院架构
    void update(Structure structure);

    //通过学院查询所有的专业
    List<Structure> getMajorByCollege(String college);

    //查询所有的学院
    List<Structure> getCollege();
}
